package com.zhongwang.business.module.cost.service;

import com.zhongwang.business.module.cost.mapper.DictCommonMapperNew;
import com.zhongwang.business.module.cost.model.DictCommon;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictCommonService {
    @Autowired
    private DictCommonMapperNew dictCommonMapper;
    /** 按分类查询字典数据 */
    public List<DictCommon> findDictByGroupName(String groupName) {
        return dictCommonMapper.findByGroupName(groupName);
    }
}
